package com.nineclock.attendance.service;

import com.nineclock.attendance.dto.AttendGroupDTO;
import com.nineclock.common.entity.PageResult;

public interface AttendGroupService {
    /**
     * 初始化/分页查询考勤组信息
     * @param page
     * @param pageSize
     * @return
     */
    PageResult<AttendGroupDTO> queryAttendGroupPage(Integer page, Integer pageSize);

    /**
     * @Author: lenovo
     * @Parms [attendGroupDTO]
     * @ReturnType: void
     * @Description: 新增考勤组接口
    */
    void addAttendGroup(AttendGroupDTO attendGroupDTO);

    /**
     * 根据用户ID获取考勤组信息
     * @return
     */
    AttendGroupDTO getAttendGroupByUserId();
}
